package com.korion.kdyassistant.utils

import android.content.Context
import com.korion.kdyassistant.R

object DeviceUtils {
    fun enterEngineerMode(context: Context){
        val intent = context.packageManager.getLaunchIntentForPackage("com.sprd.engineermode")
        if (intent != null){
            context.startActivity(intent)
        } else {
            context.showToast(R.string.engineer_mode)
        }
    }
}